/* rebr004.p - Line Schedule Browse UI                                      */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                      */
/* All rights reserved worldwide.  This is an unpublished work.             */
/* $Revision: 1.9 $    */
/*V8:ConvertMode=NoConvert                                                  */
/********************************** History *********************************
 *    Revision: 8.5      Created: 06/19/97    By: B. Pedersen    *J1TF*
 *    Revision: 8.5     Modified: 09/26/97    By: B. Pedersen    *J20C*
 *    Revision: 8.5     Modified: 01/31/99    By: Doug Norton    *M071*
 *    Revision: 9.0     Modified: 03/15/99    By: Mark Smith     *M0BF*
 *    Revision: 9.1     Modified: 08/15/00    By: Mark Brown     *N0KP*
 * $Revision: 1.9 $    BY: Jean Miller          DATE: 04/05/02  ECO: *P044*
 ****************************************************************************/

{mfdeclre.i}

&SCOPED-DEFINE BR-TITLE "Line Schedule"

&SCOPED-DEFINE BR-NAME re004
&SCOPED-DEFINE Q-DRAG-BACK-COL 1

&SCOPED-DEFINE Q-FIRST-TABLE seq_mstr
&SCOPED-DEFINE Q-FIRST-FIELD-LIST (seq_site seq_line seq_priority seq_due_date seq_part seq_qty_req seq_start)
&SCOPED-DEFINE Q-2ND-TABLE ln_mstr
&SCOPED-DEFINE Q-2ND-JOIN ln_site = seq_site and ln_line = seq_line
&SCOPED-DEFINE Q-2ND-FIELD-LIST ()
&SCOPED-DEFINE Q-NUM-TABLES 2

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-1 b-1.seq_site
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-1 seq_mstr.seq_site
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-1 tt-seq_site
&SCOPED-DEFINE BR-K-COL-LABEL-1 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-1 "Site"
&SCOPED-DEFINE BR-FIELD-TYPE-1 character
&SCOPED-DEFINE BR-FIELD-FRMT-1 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-1 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-2 b-1.seq_line
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-2 seq_mstr.seq_line
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-2 tt-seq_line
&SCOPED-DEFINE BR-K-COL-LABEL-2 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-2 "Line"
&SCOPED-DEFINE BR-FIELD-TYPE-2 character
&SCOPED-DEFINE BR-FIELD-FRMT-2 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-2 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-3 b-1.seq_priority
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-3 seq_mstr.seq_priority
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-3 tt-seq_priority
&SCOPED-DEFINE BR-K-COL-LABEL-3 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-3 "Priority"
&SCOPED-DEFINE BR-FIELD-TYPE-3 decimal
&SCOPED-DEFINE BR-FIELD-FRMT-3 FORMAT ">>9.99"
&SCOPED-DEFINE BR-FIELD-WIDTH-3 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-4 b-1.seq_due_date
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-4 seq_mstr.seq_due_date
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-4 tt-seq_due_date
&SCOPED-DEFINE BR-K-COL-LABEL-4 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-4 "Due Date"
&SCOPED-DEFINE BR-FIELD-TYPE-4 date
&SCOPED-DEFINE BR-FIELD-FRMT-4 FORMAT "99/99/99"
&SCOPED-DEFINE BR-FIELD-WIDTH-4 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-5 b-1.seq_part
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-5 seq_mstr.seq_part
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-5 tt-seq_part
&SCOPED-DEFINE BR-K-COL-LABEL-5 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-5 "Item/Part"
&SCOPED-DEFINE BR-FIELD-TYPE-5 character
&SCOPED-DEFINE BR-FIELD-FRMT-5 FORMAT "x(18)"
&SCOPED-DEFINE BR-FIELD-WIDTH-5 19

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-6 b-1.seq_qty_req
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-6 seq_mstr.seq_qty_req
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-6 tt-seq_qty_req
&SCOPED-DEFINE BR-K-COL-LABEL-6 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-6 "Qty Required"
&SCOPED-DEFINE BR-FIELD-TYPE-6 decimal
&SCOPED-DEFINE BR-FIELD-FRMT-6 FORMAT "->,>>>,>>9.99"
&SCOPED-DEFINE BR-FIELD-WIDTH-6 14

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-7 b-1.seq_start
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-7 seq_mstr.seq_start
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-7 tt-seq_start
&SCOPED-DEFINE BR-K-COL-LABEL-7 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-7 "Start Date"
&SCOPED-DEFINE BR-FIELD-TYPE-7 date
&SCOPED-DEFINE BR-FIELD-FRMT-7 FORMAT "99/99/99"
&SCOPED-DEFINE BR-FIELD-WIDTH-7 11

&SCOPED-DEFINE Q-NUM-FILT-VALS 7
&SCOPED-DEFINE BR-MAX-FIELD-WIDTH 19
&SCOPED-DEFINE BR-BROWSE-WIDTH 80
&SCOPED-DEFINE WHERE-CLAUSE
&SCOPED-DEFINE BR-INDEXED-FIELDS 1

{wbbr01.i}
if c-application-mode <> 'WEB' then do:
   {browse.i}
end.
